package com.elitesland.system.convert;

import com.elitesland.system.entity.SysUdcDO;
import com.elitesland.system.vo.SysUdcComboVO;
import org.mapstruct.Mapper;
import org.mapstruct.factory.Mappers;

/**
 * <p>
 * 功能说明
 * </p>
 *
 * @author Mir
 * @date 2020/6/28
 */
@Mapper
public interface SysUdcConvert {
    SysUdcConvert INSTANCE = Mappers.getMapper(SysUdcConvert.class);

    /**
     * 分类码数据对象转型为VO对象
     * @return 分类码下拉选择选项
     */
    SysUdcComboVO codeToComboVo(SysUdcDO code);
}
